package net.maku.events.convert;

import net.maku.events.entity.UserCommentEntity;
import net.maku.events.vo.UserCommentVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 用户评论
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-04-09
*/
@Mapper
public interface UserCommentConvert {
    UserCommentConvert INSTANCE = Mappers.getMapper(UserCommentConvert.class);

    UserCommentEntity convert(UserCommentVO vo);

    UserCommentVO convert(UserCommentEntity entity);

    List<UserCommentVO> convertList(List<UserCommentEntity> list);

}